\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\tx5860\tx6400\tx6920\tx7460\tx8000\tx8540 to link against more libraries?\
\
A: In version 2.0, this is easy. Select "Other libs" in the Project inspector, and click on "Add..." An OpenPanel comes up allowing you to add a library. Interface Builder will list added libraries in alphabetical order in the Project Inspector's browser. If necessary, you can change their order by control-dragging the library names. If the Library doesn't live in /usr/lib you will also have to add a Makefile.preamble file to the project with the variable OTHER_LIBS set to the libary's directory. For example\
\
\f2\fs24 OTHER_LIBS = -L/OtherLibsDir\
\f0\fs28 \
In version 1.0, you need to have a file called Makefile.preamble in addition to the Makefile. In this file, assign a value to the variable OTHER_LIBS. For example:\
\
\f2\fs24 OTHER_LIBS = -ltext\
\f0\fs28 \
The value of LIBS will be the library listed above plus NeXT_s and sys_s, which are linked in by the Makefile.\
\
See also NextAnswer dsp.453.\
\
QA269\
\
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320 Valid for 1.0\